package com.gexiaobao.pigeon.app.model.bean

import android.os.Parcelable
import kotlinx.android.parcel.Parcelize

/**
 * @Author      : hxw
 * @Date        : 2023/3/3 14:45
 * @Describe    :
 */
@Parcelize
class OrderListResponse(

    var total: Int = 0,
    var list: ArrayList<ListBean> = ArrayList()

) : Parcelable {

    /**
     * 数据是否为空
     */
    fun isEmpty() = list == null || (list as List<*>).isEmpty()

    @Parcelize
    class ListBean(

        var orderNo: String = "",
        var showMoney: String = "",
        var createdAt: String = "",
        var desc: String = "",
        var orderId: Int = 0,
        var orderType: Int = 0,//1充值 2提现 3比赛 4关卡 5指定 6转账 10商城 11店铺
        var money: Int = 0,
        var orderStatus: Int = 0,

        ) : Parcelable
}